package cn.qh.seasonal.entity;

import java.util.Date;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * (Production)表实体类
 *
 * @author makejava
 * @since 2021-11-11 16:45:40
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "Production")
@SuppressWarnings("serial")
public class Production extends Model<Production> {


    @TableField(value = "ProductionId")
    private Integer ProductionId;  //停产表id


    @TableField(value = "ProductionName")
    private String ProductionName;  //停产表名字


    @TableField(value = "factoryId")
    private Integer factoryId;  //工厂id


    @TableField(value = "desc")
    private String desc;  //描述


    @TableField(value = "startDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;  //时间段的起始时间年-月-日 时:分:秒


    @TableField(value = "endDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate;  //时间段的结束时间年-月-日 时:分:秒


    @TableField(value = "startTime")
    private String startTime;  //周几 时:分	开始时间


    @TableField(value = "endTime")
    private String endTime;  //周几 时:分	结束时间


    @TableField(value = "weekdayId")
    private String weekdayId;  //周几id


    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private int deleted;  //逻辑删除标志


    @TableField(value = "createdUser")
    private String createdUser;  //createdUser


    @TableField(value = "createdTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;  //createdTime


    @TableField(value = "updatedUser")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedUser;  //updatedUser


    @TableField(value = "updatedTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;  //updatedTime
}
